package com.koelo.kiss.re.util;

import java.io.Serializable;

public interface IMessage 
	extends Serializable {

/*
	implements Serializable {

	private static final long serialVersionUID = 1L;
	private Map<String, Object> fields;
	
	public IMessage() {
		
		this.fields = new HashMap<String, Object>();
	}

	public IMessage(String xml) {
		
		this();
	}

	public void set(String key, String value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Short value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Integer value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Long value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Float value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Double value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Boolean value) {
		
		this.fields.put(key, value);
	}

	public void set(String key, Date value) {
		
		this.fields.put(key, value);
	}

	public String getString(String key) {
		
		return (String) this.fields.get(key);
	}

	public String getString(String key, String value) {
		
		return (String) this.fields.get(key);
	}

	public Short getShort(String key) {
		
		return (Short) this.fields.get(key);
	}

	public Short getShort(String key, Short value) {
		
		return (Short) this.fields.get(key);
	}

	public Integer getInteger(String key) {
		
		return (Integer) this.fields.get(key);
	}

	public Integer getInteger(String key, Integer value) {
		
		return (Integer) this.fields.get(key);
	}

	public Long getLong(String key) {
		
		return (Long) this.fields.get(key);
	}

	public Long getLong(String key, Long value) {
		
		return (Long) this.fields.get(key);
	}

	public Float getFloat(String key) {
		
		return (Float) this.fields.get(key);
	}

	public Float getFloat(String key, Float value) {
		
		return (Float) this.fields.get(key);
	}

	public Double getDouble(String key) {
		
		return (Double) this.fields.get(key);
	}

	public Double getDouble(String key, Double value) {
		
		return (Double) this.fields.get(key);
	}

	public Boolean getBoolean(String key) {
		
		return (Boolean) this.fields.get(key);
	}

	public Boolean getBoolean(String key, Boolean value) {
		
		return (Boolean) this.fields.get(key);
	}

	public Date getDate(String key) {
		
		return (Date) this.fields.get(key);
	}

	public Date getDate(String key, Date value) {
		
		return (Date) this.fields.get(key);
	}

	public String toXML() {
		
		return "";
	}
*/
}
